<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <jsp:useBean id="laReservation" class="metier.Reservation" scope="session"></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <link type="text/css" rel="stylesheet" href="css/bootstrap.css"/>
 <link type="text/css" rel="stylesheet" href="css/style.css"/>
<title>Confirmation reservation</title>
</head>
<body>
<jsp:include page="inc/header.jsp" />
<%
	String nomClient = request.getParameter("nom");
	String prenomClient = request.getParameter("prenom");
	String emailClient = request.getParameter("email");
	String paysClient = request.getParameter("pays");
	String telClient = request.getParameter("TelephoneFixe");
	// dateReservation = request.getParameter("");
	laReservation.addReservation(nomClient, prenomClient, emailClient, paysClient, telClient);
%>
<div class="container">
<section>
			<h1>Confirmation de reservation</h1>
			<article>
				<p>
					Nous avons bien pris en compte votre reservation, son numero est me suivant :
				</p>
				<p> le numero de reservation : <%=laReservation.getId() %> </p>
			</article>
		</section>
</div>
</body>
</html>